Simplifying Communication between a Client Application and a Single-Board Data Processing System

ABSTRACT

A communication simplifier system and method simplify communication between a client application and a single-board data processing system using a tethering architecture. In at least one embodiment, the communication simplifier system and method allows a software developer to build a communication tethering application for the single-board data processing system, define a communication connection strategy, and add a client communication tethering application to a remote computer system, such as a mobile or desktop client computer system, to handle communication with the single-board data processing system. The client computer system also offloads processing from the single-board data processing system by including a processing logic application to implement additional logic to process data received by the single-board data processing system.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates in general to the field of electronic systems and methods, and more specifically to a system and method for simplifying communication between a client application and a single-board data processing system.

Description of the Related Art

Single-board data processing systems, such as single-board computers and single-board microcontrollers, have become widely utilized for a variety of purposes. An exemplary single-board computer is a Raspberry Pi developed by the Raspberry Pi Foundation of the United Kingdom, and an example of a single-board microcontroller is an Arduino microcontroller. Uses Single-board data processing systems are programmable and able to receive inputs from a variety of sources and provided programmable outputs. Thus, single-board data processing systems present a very flexible platform for simple projects through complex scientific experiments. For example, single-board data processing systems can read inputs from a virtually limitless range of sensors or other data sources, such as hygrometers for sensing humidity and water vapor, light sensors, pressure sensors, temperature sensors and providing a programmable output such as controlling an information on a display, publishing information on the world-wide web, controlling water flow, controlling motors, etc.

The popularity of single-board data processing systems derives in part from their physical accessibility due to, for example, relatively low cost and functional accessibility due to, for example, widely available programming tools. However, to maintain accessibility, the onboard features and functionality of single-board data processing systems is limited relative to multi-board data processing systems such as laptop and desktop computers.

FIG. 1 depicts a single-board data processing system 100. The single-board data processing system 100 includes a processor 102, such as an ARM Cortex processor by ARM Holdings, that is coupled to a memory 104. The memory 104 stores one or programs that are executable by the processor 102 to allow the single-board data processing system 100 to perform programmable functions. The single-board data processing system 100 may or may not include an operating system depending on the type of system. The processor 102 executes the custom application 105 to perform programmable functions. The programmable functions include specific data processing, input/output data control through input/output circuitry 106, and communication access to external devices such as sensor 108, a control device 110, and a database 112.

In a hygrometer example, the processor 102 executes the custom application 105 to receive data from the sensor 108 that indicates the humidity at the location of the sensor 108, such as in a flower bed. The custom application 105 includes processing logic to determine whether the humidity is adequate for a particular flower and relies on information that is either hardcoded into the memory 104 or obtained via the input/output circuit 106 from remote database 112. To access the database 112, the custom application 105 includes programming to communicate with the database 112 in accordance with a particular communication protocol and to correctly process the information received from the database 112. The custom application 105 also includes executable programming to cause the input/output circuitry 106 to provide a control signal to the control device 110 to adjust the humidity if the custom application 105 indicates that the humidity is not within a preferred range.

A drawback of the single-board data processing system 100 involves the custom application 105. The custom application 105 is custom designed to provide the programmable functions of the single-board data processing system 100 including all data processing functions including communication functions. Development of custom application 105 can be inefficient and difficult.

SUMMARY

In one embodiment, a method to simplify communication between a computing device (CD) and a single-board data processing system (SBDPS) includes establishing communication between a SBDPS tethering application executing on the SBDPS and a CD tethering application executing on the CD. The method also includes receiving sensor data at the SBDPS from a sensor coupled to the SBDPS and instructing the SBDPS tethering application to cause the SBDPS to send the sensor data to the CD. The method further includes receiving operable data at the SBDPS from the CD, wherein the operable data has been processed via the CD tethering application as a proxy processor for the SBDPS to interpret and process the sensor data to generate operable data that is responsive to the sensor data and sending the operable data to a control device to control one or more operations of the control device.

In another embodiment, an apparatus includes a single-board data processing system (SBDPS) that includes input/output circuitry, a processor coupled to the input/output circuitry; and a memory, coupled to the processor, that includes an SBDPS tethering application stored in the memory. Execution by the processor of the SBDPS tethering application causes the SBDPS to perform establishing communication between a SBDPS tethering application executing on the SBDPS and a computing device (CD) tethering application executing on the CD and receiving sensor data at the SBDPS from a sensor coupled to the SBDPS. Execution by the processor of the SBDPS tethering application also causes the SBDPS to perform instructing the SBDPS tethering application to cause the SBDPS to send the sensor data to the CD. Execution by the processor of the SBDPS tethering application further causes the SBDPS to perform receiving operable data at the SBDPS from the CD, wherein the operable data has been processed via the CD tethering application as a proxy processor for the SBDPS to interpret and process the sensor data to generate operable data that is responsive to the sensor data and sending the operable data to a control device to control one or more operations of the control device.

In a further embodiment, a computing device includes input/output circuitry, a processor coupled to the input/output circuitry, and a memory, coupled to the processor, that includes a CD tethering application stored in the memory. Execution by the processor of the CD tethering application causes the CD to perform communicating with a single-board data processing system (SBDPS) tethering application executing on the SBDPS and the CD tethering application and interfacing with the SBDPS to read status data and receive sensor data from a sensor coupled to the SBDPS. Execution by the processor of the CD tethering application causes the CD to further perform receiving the sensor data from the SBDPS. The memory further stores a processing logic application as a processor proxy for the SBDPS. Execution by the processor of the processing logic application causes the CD to perform interpreting and processing the sensor data, generating operable data that is responsive to the sensor data, and providing the operable data, via the input/output circuitry, to the SBDPS to control one or more operations of a control device.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention may be better understood, and its numerous objects, features and advantages made apparent to those skilled in the art by referencing the accompanying drawings. The use of the same reference number throughout the several figures designates a like or similar element.

FIG. 1 (labeled prior art) depicts depicts a single-board data processing system.

FIG. 2 depicts a distributed single-board data processing system-client computing device system.

FIG. 3 depicts an exemplary communication and processing distribution process between single-board data processing system and a computing device.

DETAILED DESCRIPTION

In at least one embodiment, a communication simplifier system and method simplify communication between a client application and a single-board data processing system using a tethering architecture. In at least one embodiment, the communication simplifier system and method allows software developer to build a communication tethering application for the single-board data processing system, define a communication connection strategy, and add a client communication tethering application to a remote computer system, such as a mobile or desktop client computer system, to handle communication with the single-board data processing system. The client computer system also offloads processing from the single-board data processing system by including a processing logic application to implement additional logic to process data received by the single-board data processing system.

FIG. 2 depicts a distributed single-board data processing system-client computing device system 200, which includes single-board data processing system 202 and client computing device 204. The single-board data processing system 202 is identical to single-board data processing system 100 except that memory 202 includes a communication tethering program. In at least one embodiment, the tethering program is a tethering application 206, and, in at least one embodiment, the tethering program is a tethering library (not shown) that is implemented by a standard application (not shown) stored in memory 202. Executing the tethering application 206 by the processor 102 transmits information via the input/output circuitry 106 to the computing device 204, via one or more communication layers. The information advertises the presence of the single-board data processing system 202 and associated communication parameters. For example, the communication parameters expose key communication features of the single-board data processing system 202 such as communication signal status and an ability to change the configuration of the single-board data processing system 202 such as change communication configuration. The particular communication process and protocol used by the single-board data processing system 202 is a matter of design choice, such as a transmission control protocol and the internet protocol (TCP/IP)-based infrastructure (over a local area network or WiFi) or Bluetooth-based communication.

The computing device 204 includes a processor 202 that executes programs stored in memory 210. The input/output circuitry 212 receives communication transmissions from the single-board data processing system 202 SBDPS tethering application 206, and a computing device (CD) tethering application 214 in memory 210 causes the processor 202 to recognize and establish a communication link with the single-board data processing system 202 via the CD tethering application 214.

In at least one embodiment, the tethering application 214 discovers available transmitting and available single-board data processing systems and initiates communication. The tethering application 214 interfaces with the single-board data processing systems, reads status, receives signals, and accesses or hosts processing logic application 216, thereby acting as a processor proxy for the single-board data processing systems. This distribution and centralized processing can greatly reduce the need of writing a processing logic application on the single-board data processing systems, provides much easier development of a desktop or mobile app with a user interface (UI) for interfacing with the single-board data processing systems. Even in case of a custom single-board data processing systems application, the tethering application 206 is able to simplify the development of the communication layer, and allow building the computing device 204 with a desired user interface. Developers can use RAD Studio to develop the applications. RAD Studio is available from EMBARCADERO an Idera company with offices in Austin, Tex.

Rather than processing the data received from sensor 108, the single-board data processing system (SBDPS) tethering application 206 causes single-board data processing system 202 to transmit the sensor 108 data. In at least one embodiment, the CD tethering application 214 makes the sensor 108 data available to the processing logic application 216. In at least one embodiment, the processing logic application 216 replaces sensor 108 data processing logic of custom application 105. The computing device 204 has more computing resources, ready access to exemplary onboard database 218 and/or to remote database 112. The processing logic application 216 retrieves any data used to process the sensor 108 data and generates responsive results for single-board data processing system 202, such as control data for control device 110. Executing the CD tethering application 214 causes the input/output circuitry 212 to transmit the responsive results to the single-board data processing system 202, and executing the SBDPS tethering application 206 causes the input/output circuitry 106 to send the control data to control device 110.

In at least one embodiment, the CD tethering application 214 communicates with multiple SBDPS tethering applications like application 206 so that the computing device 204 becomes a central processing source for multiple single-board data processing systems. In at least one embodiment, one or more CD tethering application(s) 214 can host multiple components for accessing several single-board data processing systems with different hardware configurations and create a single UI for multiple single-board data processing system 202 at the same time. In at least one embodiment, the CD tethering application 214 can also provide general services like database access to the single-board data processing system 202, again acting as a proxy to the tethered single-board data processing system 202.

FIG. 3 depicts an exemplary communication and processing distribution process 300 between single-board data processing system 202 and computing device 204 via communication interface 301, such as the Internet or other network or communication link. Referring to FIGS. 2 and 3, the communication and processing distribution process 300 utilizes the hardware and application features of single-board data processing system 202 and computing device 204 as previously discussed. After establishing communication between the single-board data processing system 202 and computing device 204 via the SBDPS tethering application 206 and CD tethering application 214 as previously discussed, in operation 302, single-board data processing system 202 receives sensor data from sensor 108. In operation 304, processor 102 accesses the SBDPS tethering application 206, and the SBDPS tethering application 206 causes single-board data processing system 202 to send the sensor 108 data to the computing device 308 for centralized, remote processing. In operation 308, the computing device 204 receives the sensor 108 data and accesses the CD tethering application 214 in operation 310. The CD tethering application 214 interprets the sensor 108 data in operation 312, and processing logic application 216 processes the sensor 108 data in operation 314 to generate responsive, operable data. Operation 316 accesses the CD tethering application 214 to send the operable data to single-board data processing system 202. In operation 320, the input/output circuitry 106 receives the operable data from the computing device 24, and SBDPS tethering application 206 causes the input/output circuitry 106 to send the operable data, which in this embodiment is control data, to control device 110.

The exemplary communication and processing distribution process 300 embodiment refers to sensor data and processing sensor data. However, the process equally applies to processing any data from single-board data processing system 202.

Thus, a communication simplifier system and method simplify communication between a client application and a single-board data processing system using a tethering architecture. In at least one embodiment, the communication simplifier system and method allows a software developer to build a communication tethering application for the single-board data processing system, define a communication connection strategy, and add a client communication tethering application to a remote computer system, such as a mobile or desktop client computer system, to handle communication with the single-board data processing system. The client computer system also offloads processing from the single-board data processing system by including a processing logic application to implement additional logic to process data received by the single-board data processing system. This distribution and centralized processing can greatly reduce the need of writing a processing logic applications on the single-board data processing systems, provides much easier development of a desktop or mobile app with a user interface (UI) for interfacing with the single-board data processing systems.

Accordingly, in at least one embodiment, a communication simplifier system and method simplifies the development of communication between a client application and the software running on a single-board data processing system board, such as Arduino, Raspberry Pi, or the like, using a tethering architecture. A user of the communication simplifier system and method technology can add a component into the RAD Studio application. In at least one embodiment, the RAD Studio application has the capability of starting a discovery phase over the local network or Bluetooth devices to connect to the application running on the board, once the component is active. In at least one embodiment, a single client application is able to control multiple single-board data processing system boards at the same time, in a supervisor role.

In at least one embodiment, a standard application running on the single-board data processing system board exposes access to key feature information, such as signal status, ability to change the configuration, allowing the client application to access any of the information. In at least one embodiment, in a case of utilizing a custom application for the board, a developer utilizes a ready-to-use tethering library for the board and compiles this library into a custom application.

In at least one embodiment, the single-board data processing system board runs a standard application including a local tethering library with the ability to access hardware and expose information via multiple communication layers. The application can also advertise the presence and parameters of the board. In at least one embodiment, communication between the board and other devices takes place using either a TCP/IP-based infrastructure (over a local area network or WiFi network) or using Bluetooth-based communication. In at least one embodiment, the developer of a custom application for the single-board data processing system board can use the same tethering library and compile into the single-board data processing system board as part of the application on the single-board data processing system board, which easily enables the tethering support to, for example, a computing device, such as computing device 204.

In at least one embodiment, the RAD Studio application is able to discover the available single-board data processing system boards and initiate the communication. The component is able to interface with the board, read status, receive signals, and host the required application logic, acting as a processor proxy for the board. This can greatly reduce the need of writing an application on the specific single-board data processing system board, providing much easier development of a desktop or mobile app with a user interface (UI) for interfacing with the board. Even in case of a custom single-board data processing system board application, the library is able to simplify the development of the communication layer and allow building the client application with a desired UI as discussed above.

In at least one embodiment, the same applications can host multiple components for accessing several boards with different hardware configurations, and create a single UI for multiple single-board data processing system boards at the same time. In at least one embodiment, the application more easily offers general services like database access, again acting as a proxy to the tethered single-board data processing system board.

Although embodiments have been described in detail, it should be understood that various changes, substitutions, and alterations can be made hereto without departing from the spirit and scope of the invention as defined by the appended claims. 

What is claimed is:
 1. A method to simplify communication between a computing device (CD) and a single-board data processing system (SBDPS), the method comprising: establishing communication between a SBDPS tethering application executing on the SBDPS and a CD tethering application executing on the CD; receiving sensor data at the SBDPS from a sensor coupled to the SBDPS; instructing the SBDPS tethering application to cause the SBDPS to send the sensor data to the CD; receiving operable data at the SBDPS from the CD, wherein the operable data has been processed via the CD tethering application as a proxy processor for the SBDPS to interpret and process the sensor data to generate operable data that is responsive to the sensor data; and sending the operable data to a control device to control one or more operations of the control device.
 2. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: executing the tethering application by a processor of the SBDPS to transmit information via input/output circuitry of the SBDPS to CD, wherein the information advertises a presence of the SBDPS and associated communication parameters.
 3. The method of claim 2 wherein the associated communication parameters expose communication features of the SBDPS including a communication signal status and an ability to change a configuration of the SBDPS.
 4. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: establishing communication using a protocol selected from a group consisting of: a Transmission Control Protocol and the Internet Protocol and a Bluetooth-based communication protocol.
 5. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: receiving a communication at the SBDPS that is initiated by the CD tethering application.
 6. The method of claim 1 further comprising: communicating between the SBDPS and the CD tethering application to provide an interface between the CD and the SBDPS so that the CD tethering application reads SBDPS status information, receives signals from the SBDPS, and provides a processing logic application to serve as a processor proxy to generate the operable data for the SBDPS.
 7. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: executing the tethering application by a processor of the SBDPS to transmit information via input/output circuitry of the SBDPS to CD, wherein the information advertises a presence of the SBDPS and associated communication parameters.
 8. The method of claim 7 wherein the associated communication parameters expose communication features of the SBDPS including a communication signal status and an ability to change a configuration of the SBDPS.
 9. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: establishing communication using a protocol selected from a group consisting of: a Transmission Control Protocol and the Internet Protocol and a Bluetooth-based communication protocol.
 10. The method of claim 1 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: receiving a communication at the SBDPS that is initiated by the CD tethering application.
 11. The method of claim 1 further comprising: executing by the CD the CD tethering application to communicate with the SBDPS tethering application to perform; interfacing with the SBDPS to read status data and receive sensor data from the sensor coupled to the SBDPS; and receiving the sensor data from the SBDPS; executing by the CD a processing logic application as the processor proxy for the SBDPS to perform: interpreting and processing the sensor data; generating operable data that is responsive to the sensor data; and providing the operable data, via the input/output circuitry, to the SBDPS.
 12. An apparatus comprising: a single-board data processing system (SBDPS), wherein the SBDPS includes: input/output circuitry; a processor coupled to the input/output circuitry; and a memory, coupled to the processor, that includes an SBDPS tethering application stored in the memory, wherein execution by the processor of the SBDPS tethering application causes the SBDPS to perform: establishing communication between a SBDPS tethering application executing on the SBDPS and a computing device (CD) tethering application executing on the CD; receiving sensor data at the SBDPS from a sensor coupled to the SBDPS; instructing the SBDPS tethering application to cause the SBDPS to send the sensor data to the CD; receiving operable data at the SBDPS from the CD, wherein the operable data has been processed via the CD tethering application as a proxy processor for the SBDPS to interpret and process the sensor data to generate operable data that is responsive to the sensor data; and sending the operable data to a control device to control one or more operations of the control device.
 13. The apparatus of claim 0 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: executing the tethering application by a processor of the SBDPS to transmit information via input/output circuitry of the SBDPS to CD, wherein the information advertises a presence of the SBDPS and associated communication parameters.
 14. The apparatus of claim 13 wherein the associated communication parameters expose communication features of the SBDPS including a communication signal status and an ability to change a configuration of the SBDPS.
 15. The apparatus of claim 13 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: establishing communication using a protocol selected from a group consisting of: a Transmission Control Protocol and the Internet Protocol and a Bluetooth-based communication protocol.
 16. The apparatus of claim 13 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: receiving a communication at the SBDPS that is initiated by the CD tethering application.
 17. The apparatus of claim 13 wherein execution by the processor of the SBDPS tethering application causes the SBDPS to further perform: communicating between the SBDPS and the CD tethering application to provide an interface between the CD and the SBDPS so that the CD tethering application reads SBDPS status information, receives signals from the SBDPS, and provides a processing logic application to serve as a processor proxy to generate the operable data for the SBDPS.
 18. The apparatus of claim 13 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: executing the tethering application by a processor of the SBDPS to transmit information via input/output circuitry of the SBDPS to CD, wherein the information advertises a presence of the SBDPS and associated communication parameters.
 19. The apparatus of claim 18 wherein the associated communication parameters expose communication features of the SBDPS including a communication signal status and an ability to change a configuration of the SBDPS.
 20. The apparatus of claim 13 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: establishing communication using a protocol selected from a group consisting of: a Transmission Control Protocol and the Internet Protocol and a Bluetooth-based communication protocol.
 21. The apparatus of claim 13 wherein establishing communication between the SBDPS tethering application and the CD tethering application executing on the CD further comprises: receiving a communication at the SBDPS that is initiated by the CD tethering application.
 22. The apparatus of claim 13 further comprises: the computing device, wherein the computing device includes: CD input/output circuitry; a CD processor coupled to the CD input/output circuitry; and a CD memory, coupled to the CD processor, that includes a CD tethering application stored in the CD memory, wherein execution by the CD processor of the CD tethering application causes the CD to perform: communicating with the SBDPS tethering application executing on the SBDPS; interfacing with the SBDPS to read status data and receive sensor data from the sensor coupled to the SBDPS; receiving the sensor data from the SBDPS; wherein the CD memory further stores a processing logic application as the processor proxy for the SBDPS, wherein execution by the CD processor of the processing logic application causes the CD to further perform: interpreting and processing the sensor data; generating operable data that is responsive to the sensor data; and providing the operable data, via the input/output circuitry, to the SBDPS.
 23. A computing device comprising: input/output circuitry; a processor coupled to the input/output circuitry; and a memory, coupled to the processor, that includes a CD tethering application stored in the memory, wherein execution by the processor of the CD tethering application causes the CD to perform: communicating with a single-board data processing system (SBDPS) tethering application executing on the SBDPS and the CD tethering application; interfacing with the SBDPS to read status data and receive sensor data from a sensor coupled to the SBDPS; receiving the sensor data from the SBDPS; wherein the memory further stores a processing logic application as a processor proxy for the SBDPS, wherein execution by the processor of the processing logic application causes the CD to perform: interpreting and processing the sensor data; generating operable data that is responsive to the sensor data; and providing the operable data, via the input/output circuitry, to the SBDPS to control one or more operations of a control device.
 24. The apparatus of claim 22 wherein execution by the processor of the tethering application further causes the CD to perform: making the sensor data available to the processing logic application.
 25. The apparatus of claim 22 wherein: execution by the processor of the CD tethering application further causes the CD to perform: communicating with multiple SBDPS tethering applications executing on multiple SBDPS's; and execution by the processor of the processing logic application further causes the CD to perform: central processing for the multiple SBDPS's.
 26. The apparatus of claim 25 wherein the memory hosts multiple components that are executable by the processor to (i) access multiple SBDPS's with different hardware configurations and (ii) create a single user interface for the SBDPS's at the same time.
 27. The apparatus of claim 25 wherein the memory further includes code executable by the processor to cause the CD tethering application to provide multiple services including database access to the SBDPS. 